<?php
/**
 * Created by PhpStorm.
 * User: Tioncico
 * Date: 2019/3/18 0018
 * Time: 9:40
 */

namespace App\HttpController;



class Test extends Base
{
    public function index()
    {
        $this->response()->write('test 333');
    }

    function uploadPic()
    {
        $this->response()->write('test index222');
    }

    function user()
    {
        //记录输出错误
        Trigger::getInstance()->error('test error');
        $this->response()->write('user22222');
    }
}